package com.Renting.dao;

import com.Renting.domain.Renting;
import com.Renting.domain.RentingUser;
import com.Renting.domain.record;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RentingDao {
    public int RentingSubscribeDao(Renting renting);
    public Renting RentingStateDao(Renting renting);
    public int RentingSubscribeSetDao(@Param("username") String username,@Param("pname") String pname,@Param("number") String number);
    public int RentingPay(Renting renting);
    public int RentingCount(record re);
    public Renting RentingRoomDao(Renting renting);
    public int RentingPayCancel(Renting renting);
    public int RentingHint(RentingUser user);
}